/*
 * @Author: hukai huzhengen@gmail.com
 * @Date: 2025-06-23 16:04:32
 * @LastEditors: hukai huzhengen@gmail.com
 * @LastEditTime: 2025-09-12 17:03:56
 * @FilePath: \新建文件夹 (8)\foodOrderingSystem-ui\src\api\ingredient.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'



// 查询实时看板
export function getboard(data) {
    return request({
        url: '/food/statistics/combo',
        method: 'get',
        params: data
    })
}

// 获取用户详细信息
export function historyent(data) {
    return request({
        url: '/food/statistics/history/combo',
        method: 'get',
        params: data
    })
}

// 人数统计
export function inuserrdere(params) {
    return request({
        url: '/food/statistics/order/user',
        method: 'get',
        params: params
    })
}

// 深度分析
export function ingredstatistics(params) {
    return request({
        url: '/food/statistics/deep/analysis/heat',
        method: 'get',
        params: params
    })
}

// 食材映射
export function ingrstatistrapList(params) {
    return request({
        url: '/food/statistics/rapList',
        method: 'get',
        params: params
    })
}

// 人数统计
export function foodclassic(params) {
    return request({
        url: '/food/statistics/classicsList',
        method: 'get',
        params: params
    })
}

// /food/statistics/weed-out/list 淘汰清单
export function statisticsdic(params) {
    return request({
        url: '/food/statistics/weed-out/list',
        method: 'get',
        params: params
    })
}

// 顶部/food/statistics/top/number
export function sttopmber(params) {
    return request({
        url: '/food/statistics/top/number',
        method: 'get',
        params: params
    })
}

// 突发波动列表 /food/notice/fluctuate/list
export function sttofluctuater(params) {
    return request({
        url: '/food/notice/fluctuate/list',
        method: 'get',
        params: params
    })
}

// /food/notice/fluctuate/handle/{noticeId} 处理波动
export function sttoflhandleer(params) {
    return request({
        url: `/food/notice/fluctuate/handle`,
        method: 'put',
        data: params
    })
}


// /food/order/noTakeMeal/{orderId}/{operate}

